//
//  DetailHeaderView.h
//  Grammar
//
//  Created by Rick on 6/29/13.
//
//

#import "ITTXibView.h"
#import "GrammarExplain.h"

@protocol DetailHeaderViewDelegate <NSObject>
- (void)headerViewDidTapAtIndex:(NSUInteger)index;
@end

@interface DetailHeaderView : ITTXibView
@property (retain, nonatomic) IBOutlet UILabel *titleLabel;
@property (retain, nonatomic) IBOutlet UILabel *updateTimeLabel;
@property (nonatomic,assign) id<DetailHeaderViewDelegate>delegate;
@property (nonatomic) NSInteger section;

- (void)setViewWithGrammarExplain:(GrammarExplain*)explain;
@end

